#include "ZigbusPwmValue.h"

ZigbusPwmValue::ZigbusPwmValue()
    : ZigbusItem(-1, PWM_VALUE_SIZE)
{
}

ZigbusPwmValue::ZigbusPwmValue(int value)
    : ZigbusItem(value, PWM_VALUE_SIZE)
{
}

ZigbusPwmValue::ZigbusPwmValue(const ZigbusPwmValue &other)
    : ZigbusItem(other)
{
}


QString ZigbusPwmValue::text() const
{
    return QString::number(getValue());
}
